﻿using MyCode.Project.Domain.Dtos.Common;
using System;

namespace MyCode.Project.Domain.Businesses.FileManager
{
    /// <summary>
    /// 文件 查询
    /// </summary>
    public class FileSearch
    {
        /// <summary>
        /// 文件分组ID
        /// </summary>
        public Guid? GroupId { get; set; }

        /// <summary>
        /// 是否默认分组,true:是,false:否
        /// </summary>
        public bool IsDefault { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 文件类型,-1:全部,1:图片,2:视频,3:文件
        /// </summary>
        public int FileType { get; set; }

        /// <summary>
        /// 排序,0:按上传时间,1:按修改时间,2:按大小
        /// </summary>
        public SortQuery Sort { get; set; }
    }
}
